package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.ChannelDTO;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface AdChannelService extends IService<AdChannel> {
    /*
    * TODO 根据频道名称查询排序分页
    *  */
    ResponseResult findByNameAndPage(ChannelDTO channelDTO);

/*
* todo 频道新增
*  */
    ResponseResult addAdChannel(AdChannel adChannel);

    /*
    * TODO 频道修改
    *  */
    ResponseResult updateChannel(AdChannel adChannel);

    /*
    *  TODO 频道删除
    *   */
    ResponseResult deleteById(Integer id);
}
